package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

/**
 * 邮件系统服务类,此处ID值是从邮件系统后台获取的
 * @author hongyuhao
 *
 */
public interface MailingService {
	
	/**
	 * 添加收件人
	 * @param request
	 * @return
	 * @throws Exception
	 */
	Response addReciever(Request request) throws Exception;
	
	/**
	 * 发送邮件
	 * @param request
	 * @return
	 */
	Response sendMail(Request request) throws Exception;

	/**
	 * 群发邮件
	 * @param request
	 * @return
	 */
	Response sendMassMail(Request request) throws Exception;
}
